package edu.isquen.core.department.model;

import java.io.Serializable;
import java.util.Collection;

import edu.isquen.core.base.model.ValueObject;
import edu.isquen.core.user.model.User;

public class Department extends ValueObject implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2026419053115266361L;
	private String id;
	
	private String name;
	
	private Department superior;
	
	private String code;
	
	private String description;
	
	private Collection<User> users;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Department getSuperior() {
		return superior;
	}
	public void setSuperior(Department superior) {
		this.superior = superior;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	public Collection<User> getUsers() {
		return users;
	}
	public void setUsers(Collection<User> users) {
		this.users = users;
	}

}
